# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class InspectTaskModel(object):

    def __init__(self, inspectId=None, instanceId=None, instanceName=None, instanceClass=None, region=None, instanceType=None, engineVersion=None, score=None, beginTime=None, endTime=None, createTime=None, updateTime=None, cupInfo=None, memoryInfo=None, connectInfo=None, slowSqlInfo=None, bigTableInfo=None, deadLockInfo=None):
        """
        :param inspectId: (Optional) 诊断id
        :param instanceId: (Optional) rds实例id
        :param instanceName: (Optional) rds实例名称
        :param instanceClass: (Optional) 实例规格
        :param region: (Optional) 区域
        :param instanceType: (Optional) 实例类型
        :param engineVersion: (Optional) 数据库版本
        :param score: (Optional) 巡检分值
        :param beginTime: (Optional) 巡检范围的起始时间，如：2020-11-09T00:00:00Z
        :param endTime: (Optional) 巡检范围的截至时间，如：2020-11-09T23:59:59Z
        :param createTime: (Optional) 巡检开始时间，2021-11-09T00:19:00Z
        :param updateTime: (Optional) 巡检完成时间，2021-11-09T00:19:30Z
        :param cupInfo: (Optional) cpu使用率
        :param memoryInfo: (Optional) 内存使用率
        :param connectInfo: (Optional) 连接使用率
        :param slowSqlInfo: (Optional) 慢SQL数量
        :param bigTableInfo: (Optional) 大表数量
        :param deadLockInfo: (Optional) 是否死锁
        """

        self.inspectId = inspectId
        self.instanceId = instanceId
        self.instanceName = instanceName
        self.instanceClass = instanceClass
        self.region = region
        self.instanceType = instanceType
        self.engineVersion = engineVersion
        self.score = score
        self.beginTime = beginTime
        self.endTime = endTime
        self.createTime = createTime
        self.updateTime = updateTime
        self.cupInfo = cupInfo
        self.memoryInfo = memoryInfo
        self.connectInfo = connectInfo
        self.slowSqlInfo = slowSqlInfo
        self.bigTableInfo = bigTableInfo
        self.deadLockInfo = deadLockInfo
